# -*- coding: utf-8 -*-
# @Time    :2022/2/16 21:08
# @AUTHOR  :MORAN
# @Email   :moran@maqu.com
# @File    :urls.py
# @Software:PyCharm
from rest_framework.routers import DefaultRouter
from .views import LabelViewSet, TopicViewSet, TopicStudentViewSet

urlpatterns = [

]
router = DefaultRouter()  # 创建路由器
router.register('label', LabelViewSet)
router.register('topic', TopicViewSet)
router.register('topics', TopicStudentViewSet)
urlpatterns += router.urls
